package com.hdit.guimei.service.impl;

import com.hdit.guimei.domain.UnionGoods;
import com.hdit.guimei.mapper.UnionGoodsMapper;
import com.hdit.guimei.service.UnionGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @基本功能:
 * @ClassName: UnionGoodsServiceImpl
 * @Description: TODO
 * @Author: 李嘉明
 * @Date: 2021/1/22 9:23
 * @Version 1.0
 */
@Service
public class UnionGoodsServiceImpl implements UnionGoodsService {
    @Autowired
    private UnionGoodsMapper unionGoodsMapper;
    /**
    * @Method: findUnionGoods
    * @函数(方法)功能: 查找商品详细信息
    * @Author: 李嘉明
    * @params:  [good_id]
    * @Return: com.hdit.guimei.domain.UnionGoods
    * @Exception:
    * @Date: 2021/1/22 10:49
    */
    @Override
    public UnionGoods findUnionGoods(int good_id) {
        System.out.println(good_id);
        return unionGoodsMapper.findUnionGoods(good_id);
    }
}
